﻿<%@ Page Title="" Language="C#" MasterPageFile="~/WebServisArayuz.Master" AutoEventWireup="true"
    CodeBehind="YFGrupYetkiIslemleri.aspx.cs" Inherits="TakbisBilgiSorgu_v1.YFGrupYetki"
    EnableEventValidation="false" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <script src="js/MyScript/GrupYetkiIslemleri.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
    <div class="sayfa_adi">
        Yönetim Paneli / Grup Yetki İşlemleri</div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <form id="form1" runat="server">
<div class="icorta DivTasinmazIslemleriBloklar">
    <asp:GridView ID="gvGrupYetki" CssClass="grids" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        CellPadding="3" DataKeyNames="ID,GrupID,FonksiyonID" 
        OnPageIndexChanging="gvGrupYetki_PageIndexChanging" OnSelectedIndexChanged="gvGrupYetki_SelectedIndexChanged"
        OnRowDataBound="gvGrupYetki_RowDataBound" OnRowCreated="gvGrupYetki_RowCreated">
        <Columns>
            <asp:CommandField HeaderText=" Seçim " ShowSelectButton="True" SelectText="Seç" ControlStyle-Height="30"
                Visible="False">
                <ControlStyle Height="30px"></ControlStyle>
            </asp:CommandField>
            <asp:BoundField DataField="ID" HeaderText="ID" Visible="false" />
            <asp:BoundField DataField="GrupAdi" HeaderText="Grup Adı" />
            <asp:BoundField DataField="FonksiyonAdi" HeaderText="Fonksiyon Adı" />
        </Columns>
            <FooterStyle CssClass="gridsFooter"/>
            <HeaderStyle  CssClass="gridsHeader"/>
            <PagerStyle CssClass="gridsPager"/>
            <RowStyle CssClass="gridsTextColor" />
            <SelectedRowStyle CssClass="selectedRows"/>
    </asp:GridView>
    <br /><div id="yetkiDiv">
  <table class="yetkiTable">
	<tr>
		<td>

    <asp:Label ID="lblGrupAdi" runat="server" Text="Grup Adı"></asp:Label>
        </td>
		<td>:</td>
		<td>
    <asp:DropDownList ID="ddlGrup" class="dropdownlists" runat="server" TabIndex="1" Width="230">
    </asp:DropDownList>
        </td>
	</tr>
	<tr>
		<td>
    <asp:Label ID="lblFonksiyonAdi" runat="server" Text="Fonksiyon Adı"></asp:Label>
        </td>
		<td>:</td>
		<td>
    <asp:DropDownList ID="ddlFonksiyonYeni" runat="server" class="dropdownlists" Width="230">
    </asp:DropDownList>
        </td>
	</tr>
</table>
</div>
    <asp:Button ID="btnEkle" class="butons ekleico" runat="server" OnClick="btnEkle_Click" TabIndex="3" Text="Ekle"/>
    <asp:Button ID="btnGuncelle" class="butons guncelleico" runat="server" OnClick="btnGuncelle_Click" Text="Güncelle" TabIndex="4"/>
    <asp:Button ID="btnSil" class="butons silico" runat="server" OnClick="btnSil_Click" Text="Sil" TabIndex="5"/>
    <asp:Button ID="btnKaydet" class="butons kaydetico" runat="server" OnClientClick="return validateData();" OnClick="btnKaydet_Click" Text="Kaydet" TabIndex="6"/>
 </div>
    </form>
</asp:Content>
